<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>系统配置 | 小柠檬智慧社区云平台</title>


    <!--STYLESHEET-->
    <!--=================================================-->

    <!--Open Sans Font [ OPTIONAL ]-->
    <link href='../../assets/css/26707bedc25a4344bb99d7e1215825f4.css' rel='stylesheet' type='text/css'>

    <!--Bootstrap Stylesheet [ REQUIRED ]-->
    <link href="../../assets/css/bootstrap.min.css" rel="stylesheet">

    <!--Nifty Stylesheet [ REQUIRED ]-->
    <link href="../../assets/css/nifty.min.css" rel="stylesheet">

    <!--Nifty Premium Icon [ DEMONSTRATION ]-->
    <link href="../../assets/css/nifty-demo-icons.min.css" rel="stylesheet">

    <!--icon Stylesheet-->
    <link href="../../assets/css/ionicons.min.css" rel="stylesheet">

    <!--Demo [ DEMONSTRATION ]-->
    <link href="../../assets/css/nifty-demo.min.css" rel="stylesheet">

    <!--Morris.js [ OPTIONAL ]-->
    <link href="../../assets/css/morris.min.css" rel="stylesheet">

    <!--Magic Checkbox [ OPTIONAL ]-->
    <link href="../../assets/css/magic-check.min.css" rel="stylesheet">

    <!--Bootstrap Table [ OPTIONAL ]-->
    <link href="../../assets/css/bootstrap-table.min.css" rel="stylesheet">

    <!--X-editable [ OPTIONAL ]-->
    <link href="../../assets/css/bootstrap-editable.css" rel="stylesheet">

    <!--Switchery [ OPTIONAL ]-->
    <link href="../../assets/css/switchery.min.css" rel="stylesheet">

    <!--Bootstrap Select [ OPTIONAL ]-->
    <link href="../../assets/css/bootstrap-select.min.css" rel="stylesheet">

    <!--Select2 [ OPTIONAL ]-->
    <link href="../../assets/css/select2.min.css" rel="stylesheet">

    <!--Bootstrap Datepicker [ OPTIONAL ]-->
    <link href="../../assets/css/bootstrap-datepicker.min.css" rel="stylesheet">
    <link href="../../assets/css/bootstrapvalidator.min.css" rel="stylesheet">

    <link href="../../assets/js/ztree/css/metro.css" rel="stylesheet">
    <!--JAVASCRIPT-->
    <!--=================================================-->

    <!--Pace - Page Load Progress Par [OPTIONAL]-->
    <link href="../../assets/css/pace.min.css" rel="stylesheet">
    <script src="../../assets/js/pace.min.js"></script>

    <!--jQuery [ REQUIRED ]-->
    <script src="../../assets/js/jquery-2.2.4.min.js"></script>

    <!--BootstrapJS [ RECOMMENDED ]-->
    <script src="../../assets/js/bootstrap.min.js"></script>

    <!--=================================================-->
    <!--Bootstrap Table [ OPTIONAL ]-->
    <script src="../../assets/js/table/bootstrap-table.min.js"></script>

    <script src="../../assets/js/table/bootstrap-table-zh-CN.min.js"></script>

    <!--=================================================-->

    <!--Morris.js [ OPTIONAL ]-->
    <script src="../../assets/js/morris.min.js"></script>
    <script src="../../assets/js/raphael.min.js"></script>

    <!--Sparkline [ OPTIONAL ]-->
    <script src="../../assets/js/jquery.sparkline.min.js"></script>

    <!--NiftyJS [ RECOMMENDED ]-->
    <script src="../../assets/js/nifty.min.js"></script>

    <!--Switchery [ OPTIONAL ]-->
    <script src="../../assets/js/switchery.min.js"></script>
    <!--Bootstrap Select [ OPTIONAL ]-->
    <script src="../../assets/js/bootstrap-select.min.js"></script>

    <!--Select2 [ OPTIONAL ]-->
    <script src="../../assets/js/select2.min.js"></script>

    <!--Bootstrap Datepicker [ OPTIONAL ]-->
    <script src="../../assets/js/bootstrap-datepicker.min.js"></script>
    <script src="../../assets/js/bootstrap-datepicker.zh-CN.js"></script>
    <script src="../../assets/js/nice-validator/dist/jquery.validator.min.js"></script>
    <script src="../../assets/js/nice-validator/dist/local/zh-CN.js"></script>
    <script src="../../assets/js/ztree/js/jquery.ztree.all-3.5.min.js"></script>

    <script src="../../assets/js/md5.js"></script>
    <script src="../../assets/js/common.js"></script>
    <script src="../../main/js/config.js"></script>
</head>

<!--TIPS-->
<!--You may remove all ID or Class names which contain "demo-", they are only used for demonstration. -->
<body>

<!--Page Title-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<div id="page-title">
    <h1 class="page-header text-overflow">配置管理</h1>

    <!--Searchbox-->
    <!--<div class="searchbox">-->
    <!--<div class="input-group custom-search-form">-->
    <!--<input type="text" class="form-control" placeholder="Search..">-->
    <!--<span class="input-group-btn">-->
    <!--<button class="text-muted" type="button"><i class="demo-pli-magnifi-glass"></i></button>-->
    <!--</span>-->
    <!--</div>-->
    <!--</div>-->
</div>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End page title-->

<!--Breadcrumb-->
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<ol class="breadcrumb">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统管理</a></li>
    <li class="active">配置管理</li>
</ol>
<!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-->
<!--End breadcrumb-->

<!--Page content-->
<!--===================================================-->
<div id="page-content">
    <div class="tab-base">
        <!--Nav Tabs-->
        <ul class="nav nav-tabs">
            <li class="active">
                <a data-toggle="tab" href="#demo-lft-tab-1">字典配置</a>
            </li>
            <li>
                <a data-toggle="tab" href="#demo-lft-tab-2">参数配置</a>
            </li>
            <li>
                <a data-toggle="tab" href="#demo-lft-tab-3">调度配置</a>
            </li>
            <li>
                <a data-toggle="tab" href="#demo-lft-tab-4">短信配置</a>
            </li>
        </ul>
        <div class="tab-content" style="padding: 0px;">
            <div id="demo-lft-tab-1" class="tab-pane fade active in">
                <div class="panel-body">
                    <div id="dic-toolbar-row">
                        <button class="btn btn-primary" data-target="#dic-default-modal"
                                data-toggle="modal">
                            <i class="ion-plus-round"></i> 添加
                        </button>
                    </div>
                    <table id="dic-editable"
                           data-toolbar="#dic-toolbar-row"
                           data-search="true"
                           data-show-refresh="true"
                           data-show-toggle="true"
                           data-show-columns="true"
                           data-side-pagination="server"
                           data-pagination="true">
                    </table>
                </div>
            </div>
            <div id="demo-lft-tab-2" class="tab-pane fade">
                <div class="panel-body">
                    <div id="param-toolbar-row">
                        <button class="btn btn-primary" data-target="#param-default-modal"
                                data-toggle="modal">
                            <i class="ion-plus-round"></i> 添加
                        </button>
                    </div>
                    <table id="param-editable"
                           data-toolbar="#param-toolbar-row"
                           data-search="true"
                           data-show-refresh="true"
                           data-show-toggle="true"
                           data-show-columns="true"
                           data-side-pagination="server"
                           data-pagination="true">
                    </table>
                </div>
            </div>
            <div id="demo-lft-tab-3" class="tab-pane fade">
                <div class="panel-body">
                    <div id="task-toolbar-row">
                        <button class="btn btn-primary" data-target="#task-default-modal"
                                data-toggle="modal">
                            <i class="ion-plus-round"></i> 添加
                        </button>
                        <button class="btn btn-danger" id="demo-delete-row" disabled="disabled">
                            <i class="ion-close-round"></i> 删除
                        </button>
                        <button class="btn btn-warning" disabled="disabled">
                            <i class="ion-play"></i> 执行
                        </button>
                        <button class="btn btn-danger" disabled="disabled">
                            <i class="ion-pause"></i> 暂停
                        </button>
                        <button class="btn btn-primary" disabled="disabled">
                            <i class="ion-record"></i> 启动
                        </button>
                    </div>
                    <table id="task-editable"
                           data-toolbar="#task-toolbar-row"
                           data-search="true"
                           data-show-refresh="true"
                           data-show-toggle="true"
                           data-show-columns="true"
                           data-side-pagination="server"
                           data-pagination="true">
                    </table>
                </div>
            </div>
            <div id="demo-lft-tab-4" class="tab-pane fade">
                <div class="panel-title">短信配置</div>
                <div class="panel-body">
                    <form id="msgConfig-form" class="form-horizontal form-ajax" role="form"
                          data-toggle="validator">
                        <div id="msgconfigerrtips" class="hide"></div>
                        <input type="hidden" name="id"/>
                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">
                                <span class="text-danger">*</span> 短信平台地址：
                            </label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" name="type" class="form-control"
                                       placeholder="请输入短信平台地址"
                                       data-rule="required">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">
                                <span class="text-danger">*</span> 短信平台账号：
                            </label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" name="codeText" class="form-control"
                                       placeholder="请输入短信平台账号"
                                       data-rule="required">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">
                                <span class="text-danger">*</span> 短信平台密码：
                            </label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="password" name="code" class="form-control" placeholder="请输入短信平台密码"
                                       data-rule="required">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="control-label col-xs-12 col-sm-3">
                                <span class="text-danger">*</span> 短信签名：
                            </label>
                            <div class="col-xs-12 col-sm-8">
                                <input type="text" name="sortNo" class="form-control"
                                       placeholder="请输入短信签名"
                                       data-rule="required">
                            </div>
                        </div>
                    </form>
                </div>
                <div class="panel-footer">
                    <button data-dismiss="modal" class="btn btn-default" type="button">重置</button>
                    <button id="msgconfigBtn" class="btn btn-primary btn-save">保存</button>
                </div>
            </div>
        </div>
    </div>
</div>

<!--添加字典-->
<div class="modal fade" id="dic-default-modal" role="dialog" tabindex="-1" aria-labelledby="dic-default-modal"
     aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">

            <!--Modal header-->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><i class="pci-cross pci-circle"></i>
                </button>
                <h4 class="modal-title">字典信息</h4>
            </div>

            <!--Modal body-->
            <div class="modal-body">
                <form id="dic-form" class="form-horizontal form-ajax" role="form" data-toggle="validator">
                    <div id="dicerrtips" class="hide"></div>
                    <input type="hidden" name="id"/>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 类型：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="type" class="form-control" placeholder="请输入字典类型"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 选项描述：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="codeText" class="form-control" placeholder="请输入选项描述"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 选项值：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="code" class="form-control" placeholder="请输入选项值"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 排序：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="sortNo" class="form-control" placeholder="请输入排序值"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            父类型：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="parentType" class="form-control" placeholder="请输入父类型">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            父选项值：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="parentCode" class="form-control" placeholder="请输入父选项值">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">备注：</label>
                        <div class="col-xs-12 col-sm-8">
                                    <textarea rows="5" cols="5" name="remark" class="form-control"
                                              placeholder="请输入备注信息"></textarea>
                        </div>
                    </div>
                </form>
            </div>

            <!--Modal footer-->
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn btn-default" type="button">关闭</button>
                <button id="dicBtn" class="btn btn-primary btn-save">保存</button>
            </div>
        </div>
    </div>
</div>

<!--添加参数-->
<div class="modal fade" id="param-default-modal" role="dialog" tabindex="-1"
     aria-labelledby="param-default-modal"
     aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">

            <!--Modal header-->
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"><i class="pci-cross pci-circle"></i>
                </button>
                <h4 class="modal-title">参数信息</h4>
            </div>

            <!--Modal body-->
            <div class="modal-body">
                <form id="param-form" class="form-horizontal form-ajax" role="form" data-toggle="validator">
                    <div id="paramerrtips" class="hide"></div>
                    <input type="hidden" name="id"/>
                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 参数键：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="paramKey" class="form-control" placeholder="请输入参数键"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">
                            <span class="text-danger">*</span> 参数值：
                        </label>
                        <div class="col-xs-12 col-sm-8">
                            <input type="text" name="paramValue" class="form-control" placeholder="请输入参数值"
                                   data-rule="required">
                        </div>
                    </div>

                    <div class="form-group">
                        <label class="control-label col-xs-12 col-sm-3">备注：</label>
                        <div class="col-xs-12 col-sm-8">
                                    <textarea rows="5" cols="5" name="remark" class="form-control"
                                              placeholder="请输入备注信息"></textarea>
                        </div>
                    </div>
                </form>
            </div>

            <!--Modal footer-->
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn btn-default" type="button">关闭</button>
                <button id="paramBtn" class="btn btn-primary btn-save">保存</button>
            </div>
        </div>
    </div>
</div>

</body>
</html>
